package com.jacky.morelistview.bean;

import java.util.List;

/**
 * Created by Jacky on 2017/2/20.
 */

public class BaseListReturn<T> {


    /**
     * 错误提示
     */
    private String message;
    /**
     * 状态
     */
    private int code;
    /**
     * 数据源
     */
    private List<T> data;

    /**
     * 是否还有下一页
     */
    private boolean isNext;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public boolean isNext() {
        return isNext;
    }

    public void setNext(boolean next) {
        isNext = next;
    }
}
